<template>
  <div class="app-container">
    <el-card>
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="订单评价" name="first">
          <AppraiseList v-if="activeName === 'first'" />
        </el-tab-pane>
        <el-tab-pane label="评价参数" name="second">
          <ParamsSet v-if="activeName === 'second'" />
        </el-tab-pane>
      </el-tabs>
    </el-card>
  </div>
</template>

<script>
import AppraiseList from './appraise/appraise-list.vue'
import ParamsSet from './params/index.vue'
export default {
  name: 'OrderEvaluate',
  components: {
    ParamsSet,
    AppraiseList
  },
  props: {},
  data() {
    return {
      activeName: 'first'
    }
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},
  methods: {
    handleClick({ name }) {
      this.activeName = name
    }
  }
}
</script>

<style lang="scss" scoped></style>
